var MenuScene = function()
{
	this.background = new Sprite(0, 0, canvas.width, canvas.height, "#ff0");

	this.btn = {
		play: new Button(50, canvas.height -100, 50, 20, "#f00"), //Botão de play
		credits: new Button(200, canvas.height -100, 50, 20, "#f00") //Botão de ir para a tela de créditos
	};

	this.update = function()
	{

		this.background.update();

		this.btn.play.update(function(){
			currentScene = SCENE.GAME;
		});

		this.btn.credits.update(function(){
			currentScene = SCENE.CREDITS;
		});

	}

	this.draw = function()
	{

		this.background.draw();

		this.btn.play.draw();
		this.btn.credits.draw();

	}
}